import service from "../index";

export const getGoodsList = (params) => {
    return service({
        method:'GET',
        url:'/search/searchProdPage',
        params
    })

  return new Promise((res) => {
    res({
      code: 200,
      data: [
        {
            imgUrl:
              "https://img30.360buyimg.com/jdcms/s460x460_jfs/t1/239786/19/4948/216067/65d887c1Fb10f5e15/36f4ac66a0b1f530.jpg.avif",
            goodsTitle: "【2包【2包起【2包起【2包起【2包起【2包起【2包起【2包起【2包起【2包起起",
            goodsPrice: "13.0",
            goodsSold:132,
            shopName:'秋茗铁观音专卖店',
            tips:'年货',   // 是否有年货或者别的什么标签 ，没有就不传
          },
          {
            imgUrl:
              "https://img30.360buyimg.com/jdcms/s460x460_jfs/t1/239786/19/4948/216067/65d887c1Fb10f5e15/36f4ac66a0b1f530.jpg.avif",
            goodsTitle: "【2包起包起包起包起购】松起包起包起包起购】松起包起包起包起购】松糕吃",
            goodsPrice: "13.0",
            goodsSold:132,
            shopName:'秋茗铁观音专卖店',
            tips:'年货',
          },
          {
            imgUrl:
              "https://img30.360buyimg.com/jdcms/s460x460_jfs/t1/239786/19/4948/216067/65d887c1Fb10f5e15/36f4ac66a0b1f530.jpg.avif",
            goodsTitle: "【2包起包起包起包起购】松糕吃",
            goodsPrice: "13.0",
            goodsSold:132,
            shopName:'秋茗铁观音专卖店',
            tips:'年货',
          },
       
      ],
    });
  });
};